package com.ty;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients // 开启feign,扫描带有这个注解@FeignClient的类，创建aop的对象

public class OpenfeignApp {

    public static void main(String[] args) {
        SpringApplication.run(OpenfeignApp.class, args);
    }

}
